package com.ruoyi.system.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "thid")
public class AppThirdConfig {
    @Value("${douyin.appid}")
    public String douyinAppid = "";
    @Value("${douyin,secret}")
    public String douyinSecret = "";

    @Value("${douyin,hostPorts}")
    public String HostPorts = "";

    @Value("${douyin,isSandBox}")
    public String IsSandBox = "0";

    @Value("${douyin,domain}")
    public String douyinDomain = "";

    public static final String AppIdName     = "appId";
    public static final String SecretName    = "secret";
    public static final String HostPortsName = "hostPorts";
    public static final String IsSandBoxName = "isSandBox";
}
